package com.lxf.education.dao;

import com.lxf.education.pojo.CoursePojo;
import com.lxf.education.pojo.ReslutPojo;
import com.lxf.education.pojo.TeacherPojo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author:LuoXingFa;
* @version:Date:2022年4月20日下午2:04:50
*/
@Mapper
public interface CourseMapper {


    //根据id查询课程名
    List<CoursePojo> getCourseByResultId(Integer cid);

    //分页
    List<CoursePojo> getAllCourse(@Param("start") Integer start, @Param("limit") Integer limit);

    int finCount();
}
